package co.fitstart.weapp.api.web.controller.coach;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.demo2do.core.entity.result.HttpResult;

/**
 * @ClassName: CoachRecordController  
 * @author cuteHU  
 * @date 2018年11月27日  
 */
@RestController
@RequestMapping("/coach/course-records")
public class CoachRecordController {
	/**
	 * @Description:  来到课时记录 
	 * @return HttpResult    返回类型
	 */
	@RequestMapping(value="",method=RequestMethod.GET,produces=MediaType.APPLICATION_JSON_UTF8_VALUE,params="mobile")
	public HttpResult courseRecords(@RequestParam("mobile") String mobile) {
		HttpResult httpResult=new HttpResult();
		return httpResult;
	}
	/**
	 * @Description:  来到月课时记录列表
	 * @param  month   参数
	 * @return  HttpResult    返回类型
	 */
	@RequestMapping(value="/{month}",method=RequestMethod.GET,produces=MediaType.APPLICATION_JSON_UTF8_VALUE,params="mobile")
	public HttpResult listMonthCourseRecords(@PathVariable(name="month")String month,
			@RequestParam("mobile") String mobile) {
		HttpResult httpResult=new HttpResult();
		return httpResult;
	}

}
